Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@babel/plugin-transform-export-namespace-from
Advanced tools
Compile export namespace to ES2015
The @babel/plugin-transform-export-namespace-from package is a Babel plugin that allows developers to use the export * as syntax in their JavaScript code, which is part of the ECMAScript 2020 (ES2020) specification. This syntax enables the re-exporting of all named exports from another module under a single namespace object.
Namespace export transformation
This feature allows you to re-export all named exports from a module as a single namespace object. It's useful for creating a single object that encapsulates all exports from a module, which can then be used elsewhere in your code.
export * as ns from './module';
This package is a proposal plugin for Babel that adds support for the export * as syntax before it was officially included in the ECMAScript specification. It serves a similar purpose to @babel/plugin-transform-export-namespace-from but is intended for use during the proposal stage.
This Babel plugin adds support for the export-from extension syntax, which includes export * as syntax as well as other export extensions. It's a broader plugin that encompasses the functionality of @babel/plugin-transform-export-namespace-from along with additional export-related transformations.
Compile export namespace to ES2015
See our website @babel/plugin-transform-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-export-namespace-from
or using yarn:
yarn add @babel/plugin-transform-export-namespace-from --dev
v7.24.7 (2024-06-05)
babel-node
babel-traverse
constantViolations
with destructuring (@liuxingbaoyu)babel-helper-transform-fixture-test-runner
, babel-plugin-proposal-explicit-resource-management
using
in switch
correctly (@liuxingbaoyu)babel-helpers
, babel-runtime-corejs2
, babel-runtime-corejs3
, babel-runtime
FAQs
Compile export namespace to ES2015
The npm package @babel/plugin-transform-export-namespace-from receives a total of 10,350,853 weekly downloads. As such, @babel/plugin-transform-export-namespace-from popularity was classified as popular.
We found that @babel/plugin-transform-export-namespace-from demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.